package com.wl.service.impl;

import com.wl.domain.SysRole;
import com.wl.mapper.RoleMapper;
import com.wl.service.RoleService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
@Transactional
public class RoleServiceImpl implements RoleService {

    @Resource
    private RoleMapper roleMapper;

    @Override
    public List<SysRole> findByUid(Map<String, Object> pasMap) {
        return roleMapper.findByUid(pasMap);
    }
}
